package collectionMapDemo.collection;
/*
* 学生类*/
import java.util.HashSet;
import java.util.Set;

public class Student {
    public String id;
    public String name;

    // 课程信息存放到set属性中
    public Set courses;

    public Student(String id, String name) {
        this.id = id;
        this.name = name;
        this.courses = new HashSet();
    }
}
